package com.ruoyi.fk.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 题库题目关联对象 bank_question_mapping
 * 
 * @author fengkun
 * @date 2025-08-13
 */
public class BankQuestionMapping extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 关联ID */
    private Integer id;

    /** 题库ID */
    @Excel(name = "题库ID")
    private Integer bankId;

    /** 题目ID */
    @Excel(name = "题目ID")
    private Integer questionId;

    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }

    public void setBankId(Integer bankId) 
    {
        this.bankId = bankId;
    }

    public Integer getBankId() 
    {
        return bankId;
    }

    public void setQuestionId(Integer questionId) 
    {
        this.questionId = questionId;
    }

    public Integer getQuestionId() 
    {
        return questionId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("bankId", getBankId())
            .append("questionId", getQuestionId())
            .toString();
    }
}
